package android.slc.appbase.ui.utils;

/*
import android.view.View;
import android.widget.FrameLayout;

import androidx.annotation.NonNull;
import androidx.coordinatorlayout.widget.CoordinatorLayout;

import com.google.android.material.bottomsheet.BottomSheetBehavior;

public class SlcBottomSheetAlertDialogCallbackByExpanded extends SlcBottomSheetAlertDialog.SlcBottomSheetAlertDialogCallback{
    @Override
    public void onStateChanged(@NonNull View bottomSheet,
                               @BottomSheetBehavior.State int newState) {
        //判断为向下拖动行为时，则强制设定状态为展开
        if (bottomSheet.getLayoutParams() instanceof CoordinatorLayout.LayoutParams) {
            if (newState == BottomSheetBehavior.STATE_DRAGGING) {
                BottomSheetBehavior<FrameLayout> bottomSheetBehavior = (BottomSheetBehavior<FrameLayout>) ((CoordinatorLayout.LayoutParams) bottomSheet.getLayoutParams()).getBehavior();
                bottomSheetBehavior.setState(BottomSheetBehavior.STATE_EXPANDED);
            } else if (newState == BottomSheetBehavior.STATE_HIDDEN) {
                SlcBottomSheetAlertDialog bottomSheetAlertDialog = sheetAlertDialogWr.get();
                bottomSheetAlertDialog.cancel();
            }
        }
    }
}
*/
public class SlcBottomSheetAlertDialogCallbackByExpanded{
}